100
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spExFileView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumb,0x1000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbP,0x2000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbH,0x3000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumb,0x1000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumbP,0x2000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumbH,0x3000000);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

99
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spExFileView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumb,0x1000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbP,0x2000000);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbH,0x3000000);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

98
How to check whether the control hides the three-letter file-name extensions for certain files, reducing clutter in folder windows

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exHideFileExtensionsForKnownFileTypes,VARIANT_TRUE);
spExFileView1->Refresh();

97
How can I change the date format in the Modified column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDateFormat,"yyyyy ");
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedTimeFormat,"hh:mm");
spExFileView1->Refresh();

96
How can I change the date format in the Modified column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDateFormat,"ddd, MMM dd yy");
spExFileView1->Refresh();

95
How can I change the format of the caption that's shown in the Modified column, if ModifiedDaysAgo property is used

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDaysAgo,"vor %i Tagen");
spExFileView1->Refresh();

94
How can I change the "today" caption that's shown in the Modified column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedToday,"__ new today __");
spExFileView1->Refresh();

93
Is there any way to rename a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnCaption(L"Name",L"__ new name __");

92
Is there any option to exclude folders that match a pattern

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExcludeFolderFilter(L"W*");

91
Is there any option to include only folders that match a pattern

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFolderFilter(L"W*");

90
How can I include files when folders are expanded

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutIncludeFilesInFolder(VARIANT_TRUE);

89
How do I get the file or folder from the cursor
// MouseMove event - Occurs when the user moves the mouse.
void OnMouseMoveExFileView1(short   Button,short   Shift,long   X,long   Y)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'
		#import <ExFileVw.dll>
		using namespace EXFILEVIEWLib;
	*/
	EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
	OutputDebugStringW( spExFileView1->GetFileFromPoint(-1,-1) );
}

EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
OutputDebugStringW( spExFileView1->GetFileFromPoint(-1,-1) );

88
How can I expand programatically a folder

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->Expand(L"WINNT");

87
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterTitle,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarPatternFilterTitle,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarTooltip,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarPatternTooltip,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterForTooltip,L"");

86
How can I change the "Filter For" caption in the column's drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterForCaption,L"new caption");

85
How do I change the "All" caption in the drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarAll,L"new name for (All)");

84
How do I sort a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->Sort(L"Name",VARIANT_FALSE);

83
How do I change the font in the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->GetFilterBarFont()->PutName(L"Verdana");

82
How do I change the visual appearanceof the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarBackColor(0x1000000);

81
How do I change the color in the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarBackColor(RGB(255,0,0));

80
How do I change the color in the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarForeColor(RGB(255,0,0));

79
How do I specify the height of the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarHeight(32);

78
How do I remove or clear the filter
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->ClearFilter();

77
How do I change the caption in the filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarCaption(L"new filter");

76
How do I filter a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();

75
How can I enlarge the height of the drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownHeight("-256");

74
How do I remove or clear my own filters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->AddColumnCustomFilter(L"Name",L"(Executable files)",L"*.exe|*.com|*.bat");
spExFileView1->ClearColumnCustomFilters(L"Name");

73
How do I specify my own filters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->AddColumnCustomFilter(L"Name",L"(Executable files)",L"*.exe|*.com|*.bat");

72
How can I enlarge the width of the drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownWidth(L"Name",2);

71
How can I enlarge the width of the drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownWidth(L"Name","-256");

70
How can I enable filtering the folders and files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);

69
How do I display in the Modified column, the number of days since the file or folder was changed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);

68
How do I stop programatically the searching
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->StopSearch();

67
How do I search or find files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSearch(L"A*.A*");

66
How can I expand or collapse a folder, when the user double clicks it

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutExpandOnDblClk(VARIANT_TRUE);

65
How can I change the default icon being displayed for parent folders

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
spExFileView1->PutIncludeParentIconKey(1234);

64
How can I show only folders

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFiles(VARIANT_FALSE);

63
How can I show or hide the expand/collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);
spExFileView1->PutHasLinesAtRoot(VARIANT_TRUE);
spExFileView1->PutHasButtons(VARIANT_FALSE);

62
How can I show the lines at root

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);
spExFileView1->PutHasLinesAtRoot(VARIANT_TRUE);

61
How can I show the lines between child and parents

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);

60
Is there any option to add an expand or collapse (+/-) buttons left to each folder

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);

59
How do I show or hide the first item that shows when I browse new folders

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeParent(EXFILEVIEWLib::exNoIncludeParent);

58
How do I enable or disable renaming the folders and files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAllowRename(VARIANT_TRUE);

57
How do I change the width of the columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

56
How do I change the width of the columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnWidth(L"Name",256);

55
How do I show or hide a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnVisible(L"Type",VARIANT_FALSE);

54
How can I get the path of the browsed folder
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBrowseFolderPath(L"C:\\Temp");

53
The Change event is not fired. What can I do
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutChangeNotification(VARIANT_TRUE);

52
How do I execute a command from the file's content menu (sample 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->BeginUpdate();
spExFileView1->PutExploreFromHere(L"");
spExFileView1->ExecuteContextCommand(L"C:\\",VARIANT_TRUE,L"Properties");
spExFileView1->EndUpdate();

51
How do I change the width of the columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

50
How can I refresh automatically the control so it reflect the changes in the browsed folder
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAutoUpdate(VARIANT_TRUE);

49
May I disable the control's content menu, that's displayed when the user does right click
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAllowMenuContext(VARIANT_FALSE);

48
How do I refresh the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->Refresh();

47
How do I enable single or multiple selection

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSingleSel(VARIANT_FALSE);

46
Can I display only all execpts the *.exe and *.com files using wild characters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExcludeFilter(L"*.exe *.com *.bat");

45
Can I display only *.exe and *.com files using wild characters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFilter(L"*.exe *.com *.bat");

44
Can I change the folder being explored
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExploreFromHere(L"c:\\Program Files");

43
Can I display only files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFolders(VARIANT_FALSE);

42
How can I change the default icon being displayed for specified folders

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"W*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutIconIndex(1234);
	var_FileType->PutBold(VARIANT_TRUE);
	var_FileType->Apply();

41
How can I change the default icon being displayed for specified files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*.bat *.com *.exe");
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();

40
How can I change the default icon being displayed for files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();

39
How can I change the default icon being displayed for folders

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();

38
Does your control support partial check feature, so a parent item gets checked when all its child items are checked

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::PartialCheckBox);
spExFileView1->PutExpandFolders(VARIANT_TRUE);

37
Can I add a checkbox to each file or folder

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::CheckBox);

36
How do I put a picture on the center of the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::MiddleCenter);

35
How do I resize/stretch a picture on the control's background

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::Stretch);

34
How do I put a picture on the control's center right bottom side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::LowerRight);

33
How do I put a picture on the control's center left bottom side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::LowerLeft);

32
How do I put a picture on the control's center top side

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperCenter);

31
How do I put a picture on the control's right top corner

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperRight);

30
How do I put a picture on the control's left top corner

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperLeft);

29
How do I put a picture on the control's background

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));

28
How do I change the control's border, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutAppearance(EXFILEVIEWLib::AppearanceEnum(0x1000000));
spExFileView1->PutBackColor(RGB(255,255,255));

27
How do I remove the control's border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAppearance(EXFILEVIEWLib::None2);

26
How can I change the foreground color of the control's header

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutForeColorHeader(RGB(255,0,0));

25
How can I change the background color of the control's header

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackColorHeader(RGB(255,255,0));
spExFileView1->PutHeaderAppearance(EXFILEVIEWLib::Flat);

24
How can I change the visual appearance of the header, using EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackColorHeader(0x1000000);

23
How can I change the header's appearance

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHeaderAppearance(EXFILEVIEWLib::Flat);

22
How do I disable the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutEnabled(VARIANT_FALSE);

21
How do I change the visual appearance effect for the selected item, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutSelBackColor(0x1000000);
spExFileView1->PutSelForeColor(RGB(0,0,0));

20
How do I change the colors for the selected item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSelBackColor(RGB(0,0,0));

19
How can I change the control's font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetFont()->PutName(L"Tahoma");

18
How do I show or hide the control's header bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHeaderVisible(VARIANT_FALSE);

17
How do I change the control's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutForeColor(RGB(120,120,120));

16
How do I change the control's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackColor(RGB(200,200,200));

15
How do I prevent painting the control while multiple changes occur
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->BeginUpdate();
spExFileView1->PutForeColor(RGB(255,0,0));
spExFileView1->PutBackColor(RGB(255,255,255));
spExFileView1->EndUpdate();

14
How do I change the height of the items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutDefaultItemHeight(13);
spExFileView1->Refresh();

13
How do I enable resizing the columns at runtime

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnsAllowSizing(VARIANT_TRUE);

12
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");

11
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutTemplate(L"BackColor = RGB(255,0,0)");

10
Can I change the order of the buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollOrderParts(EXFILEVIEWLib::exHScroll,L"t,l,r");
spExFileView1->PutScrollOrderParts(EXFILEVIEWLib::exVScroll,L"t,l,r");
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

9
The thumb size seems to be very small. Can I make it bigger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollThumbSize(EXFILEVIEWLib::exHScroll,64);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

8
How do I enlarge or change the size of the control's scrollbars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollHeight(18);
spExFileView1->PutScrollWidth(18);
spExFileView1->PutScrollButtonWidth(18);
spExFileView1->PutScrollButtonHeight(18);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

7
How do I assign a tooltip to a scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollToolTip(EXFILEVIEWLib::exHScroll,L"This is a tooltip being shown when you click and drag the thumb in the vetrical scroll bar");
spExFileView1->PutScrollPartCaption(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exThumbPart,L"This is just a text");
spExFileView1->GetScrollFont(EXFILEVIEWLib::exVScroll)->PutSize(_variant_t(long(12)));
spExFileView1->PutScrollWidth(20);
spExFileView1->PutScrollThumbSize(EXFILEVIEWLib::exVScroll,148);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

6
I need to add a button in the scroll bar. Is this possible

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,VARIANT_TRUE);
spExFileView1->PutScrollPartCaption(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,L"1");
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

5
Can I display an additional buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB2Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exRightB6Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exRightB5Part,VARIANT_TRUE);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);

4
Is there any option to highligth the column from the cursor - point
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackground(EXFILEVIEWLib::exCursorHoverColumn,RGB(255,255,255));

3
Is there any option to highligth the column from the cursor - point
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exCursorHoverColumn,0x1000000);

2
How do I change the visual aspect of the close button in the filter bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exFooterFilterBarButton,0x1000000);
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe");
spExFileView1->ApplyFilter();

1
How do I change the visual aspect of the drop down filter button, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import <ExFileVw.dll>
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHeaderFilterBarButton,0x1000000);
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);